import request from '@/utils/request'

// 登录
export function login(module) {
  return request({
    url: '/auth/login',
    method: 'post',
    data: module
  })
}
// 退出
export function logout() {
  return request({
    url: '/auth/logout',
    method: 'get',
  })
}

//获取验证码
export function getCode() {
  return request({
    url: '/auth/getCode',
    responseType: 'blob',
    method: 'get',
  })
}


